package com.ybc.chinese;

import android.app.Application;

import com.umeng.socialize.PlatformConfig;
import com.umeng.socialize.UMShareAPI;

/**
 * <p><p/>
 * Created by Yubch on 17/3/5.
 */
public class App extends Application {
    static App instance = null;

    {
        PlatformConfig.setWeixin("wxf6367693eae6c85f", "69a0d5273c01b54289e50e05e0280d2e");
        PlatformConfig.setQQZone("100424468", "c7394704798a158208a74ab60104f0ba");
        PlatformConfig.setSinaWeibo("3087581019", "bce4febe894e9756dd973b38c30096b2", "http://sns.whalecloud.com");

    }

    @Override
    public void onCreate() {
        super.onCreate();
        //开启debug模式，方便定位错误，具体错误检查方式可以查看http://dev.umeng.com/social/android/quick-integration的报错必看，正式发布，请关闭该模式
        //Config.DEBUG = true;
        UMShareAPI.get(this);
        instance = this;
    }


}
